@import "../base/_base";
nav{
  background: lighten(#000000,15%); color: $color1;
  height: 0.8rem;
  display: flex;
  justify-content: center;
  z-index: 100;
  .nav{
    display: flex;
    flex-wrap: wrap;
    width: $width;
    .logo{
      font-size: 0.6rem;
      color: $color7;
      display: -moz-box;
      display: -webkit-box;
      -moz-box-pack: center;
      -webkit-box-pack: center;
      -moz-box-align: center;
      -webkit-box-align: center;
      position: relative;
      cursor:pointer;
      z-index: 1000;
    }
    .ul{
      flex: 4;
      display: flex;
      justify-content: center;
      align-items: center;
      .item{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding: 0.1rem 0.2rem;
        .link{
          cursor: pointer;
          color: inherit;
          &:hover{
             color: $color7;
          }
        }
      }
      .item+.item{
      }
    }
    .search{
      flex: 2;
      display: flex;
      justify-content: center;
      align-items: center;
      form{
        background-color: #2e353b;
        border-radius: 10px;
        height: 40px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        label{
          font-size:150%;
        }
        input{
          text-align: center;
          background-color: transparent;color: #fff;
        }
      }
    }
  }
}
//背后三角形
.san{
}
.san:after{
  margin-bottom:-0.28rem;
  margin-top: 0.18rem;
  content: "";
  display: inline;
  color:$color7;
  border-width: 0 10px 10px 10px;
  border-color: $color7 transparent;
  border-style: solid;
}